package com.yunweiweishi.xuhuanpaltform.yuhuan_app.pojo;


import lombok.Data;
import org.springframework.data.annotation.TypeAlias;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Data
@Table(name = "waring")
public class Waring {

    /**
     *
     * `id` int(20) NOT NULL,
     *   `phone_number` varchar(255) DEFAULT NULL COMMENT '电话报警',
     *   `email` varchar(255) DEFAULT NULL COMMENT '邮箱报警',
     */
    @Id
    @GeneratedValue
    private  Long id;

    /**
     * 电话报警
     */
    private String phoneNumber;


    /**
     * 邮箱报警',
     */
    private  String email;

}
